/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entities;

/**
 *
 * @author Антон
 */
public class LinkCompositionAndGenre extends BaseEntity {
    // TODO Добавить конфиг

    private Genre genre;
    private Composition composition;

    public LinkCompositionAndGenre(){
        super();
        genre = null;
        composition = null;
    }
     public LinkCompositionAndGenre(Genre genre, Composition composition)
     {
        super("Сущность связь Композиция и Жанр");
        this.genre = genre;
        this.composition = composition;
    }

    public Genre get_genre() {
        return genre;
    }

    public void set_genre(Genre genre) {
        this.genre = genre;
    }

    public Composition get_composition() {
        return composition;
    }

    public void set_composition(Composition composition) {
        this.composition = composition;
    } 
}
